import { Injectable, Session } from '@nestjs/common';
// import * as svgCaptcha from 'svg-captcha'

@Injectable()
export class DemoService {

  getList(){
    return [
      {
        title:'小张',
        id:1
      },
      {
        title:'小明',
        id:2
      },
      {
        title:'小红',
        id:3
      },
    ]
  }

  update(){
    return {
      code:200,
      message:'ok'
    }
  }

  getSvgCode(){
    
  }

  createUser(){
    return "demo 模块的service"
  }

}
